package com.bdqn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.pojo.User;

import java.util.List;

/**
 * 用户业务逻辑层接口（继承IService接口，拥有强大的通用业务能力）
 *
 * @author LILIBO
 * @since 2023-12-06
 */
public interface UserService extends IService<User> {

    User login(String usrName, String usrPassword);

    int addUser(User user);

    int deleteUser(Long usrId);

    int updateUser(User user);

    User getUser(Long usrId);

    List<User> findAllUsers();

}
